<div class="container" ng-if="state ==='loading'">
    <div class="page-header">
        <h1>数据加载中......ヾ(ｏ･ω･)ﾉ</h1>
    </div>
</div>
<div class="container" ng-if="state === 'error'">
    <div class="page-header">
        <h1>加载失败啦ミﾟДﾟ彡,刷新下页面试试</h1>
    </div>
</div>
<div class="col-xs-10 col-xs-offset-1" style="margin-top: 20px" ng-if="state === 'finished'">
    <!-- 功能区块 -->

    <table class="table table-striped">
        <thead>
        <tr>
            <td>团队名</td>
            <td>入驻通知书</td>
            <td>安全承诺书</td>
            <td></td>
        </tr>
        </thead>
        <tbody>
        <tr ng-repeat="item in teams track by $index">
            <td>{{item.teamName}}</td>
            <td><a href="/admin-backend/print-file/{{item.teamId}}" target="_blank">入驻通知书</a></td>
            <td><a href="/admin-backend/print-file/{{item.teamId}}" target="_blank">安全承诺书</a></td>
            <td>
                <button class="btn btn-success" ng-click="submit(item)">确认签署</button>
            </td>
        </tr>
        </tbody>
    </table>
</div>